package com.hsjk.szwj.module.pay.mq.producer;

import com.hsjk.szwj.framework.mq.core.RedisMQTemplate;
import com.hsjk.szwj.module.pay.dal.dataobject.config.PayOrderMchNotifyMQ;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author chenjiawei
 * @desc 支付订单通知
 * @Date 2023/09/04 00:33
 **/
@Slf4j
@Component
public class PayOrderMchNotifyProducer {
    @Resource
    private RedisMQTemplate redisMQTemplate;


    public void sendMessage(PayOrderMchNotifyMQ mchNotifyMQ) {
        redisMQTemplate.send(mchNotifyMQ);
    }

}
